package it.tava.andbudget.data.parser;

import org.xmlpull.v1.XmlPullParser;

import android.content.res.XmlResourceParser;

public class ParserFactory {

	public static ParserInterface makeParser(XmlPullParser parser) {
		if(parser instanceof XmlResourceParser) {
			return new ResourceParser(parser);
		}
		else {
			//future improvements?
			return null;
		}
	}
}
